package com.aaa.dao;

import com.wsc.entity.FUser;
import com.wsc.entity.Role;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface FUserDao {
    @Select("select * from f_user where username=#{username}")
    List<FUser> login(String name);
    @Select("select * from role where rid=#{rid} ")
    List<Role> selectRole(Integer rid);
}
